package com.patrol.logisticsmanage.ui.login;


import androidx.annotation.NonNull;

/**
 * Created by Administrator on 2018/1/11.
 */

public class LoginInfo {

    public String username;
    public String password;

    public LoginInfo() {
    }

    private LoginInfo(@NonNull String username, String password) {
        this.username = username;
        this.password = password;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static final class Builder {
        private String username;
        private String password;
        private String token;

        Builder() {
        }

        public LoginInfo build() {
            return new LoginInfo(username, password);
        }

        public Builder setUsername(String username) {
            this.username = username;
            return this;
        }


        public Builder setPassword(String password) {
            this.password = password;
            return this;
        }
    }
}
